package com.imooc.beanannotation.jsr;

import org.springframework.stereotype.Service;

@Service
public class jsrService {
	
	private JsrDAO jsrDAO;
	
	public void setJsrDAO(JsrDAO jsrDAO){
		this.jsrDAO = jsrDAO;
	}
	
	@PostConstruct
	public void init(){
		System.out.println("JsrService init.");
	}
	
	public void save()
	{
		jsrDAO.save();
	}
	
	
}
